﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace edu.Model
{
    [Serializable]
    public class User : Item
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public virtual string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public virtual string Password { get; set; }

        /// <summary>
        /// 用户类型（老师，家长）
        /// </summary>
        public virtual UserType UserType{ get; set; }

        /// <summary>
        /// 积分
        /// </summary>
        public virtual float Credits { get; set; }
    }
}
